<template>
  <div>
    <template>
      <van-card
      :desc="obj.desc"
      :title="obj.title"
      :thumb="'http://liufusong.top:8080' + obj.houseImg"
      :price="obj.price + '元/月'"
      currency
      >
      <template #tags>
        <van-tag color="#e1f5f8" text-color="#40c0cf">{{obj.tags.join('')}}</van-tag>
      </template>
      </van-card>
    </template>
  </div>
</template>

<script>
export default {
  props: {
    obj: {
      type: Object,
      default: () => {}
    }
  }
  // created () {
  //   console.log(this.obj)
  // }
}
</script>

<style>
  .van-card__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 7px;
  }
  .van-card__desc{
    color: #afb2b3;
  }
  .van-card__price-integer{
    color: #fa5741;
    font-size: 16px;
    font-weight: 700;
  }

</style>
